package com.jiazhong.重写;

public class Animal {
    public void cry() {
        System.out.println("动物叫唤");
    }

    public Object m1() {
        return null;
    }

    public String m2() {
        return null;
    }

    public AAA m3() {
        return null;
    }

    protected void eat() {
    }
}

class AAA {
}

class BBB extends AAA {
}
